package com.dwxt.community.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TrashIntegralRecoadExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TrashIntegralRecoadExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andTirIdIsNull() {
            addCriterion("tir_id is null");
            return (Criteria) this;
        }

        public Criteria andTirIdIsNotNull() {
            addCriterion("tir_id is not null");
            return (Criteria) this;
        }

        public Criteria andTirIdEqualTo(Integer value) {
            addCriterion("tir_id =", value, "tirId");
            return (Criteria) this;
        }

        public Criteria andTirIdNotEqualTo(Integer value) {
            addCriterion("tir_id <>", value, "tirId");
            return (Criteria) this;
        }

        public Criteria andTirIdGreaterThan(Integer value) {
            addCriterion("tir_id >", value, "tirId");
            return (Criteria) this;
        }

        public Criteria andTirIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("tir_id >=", value, "tirId");
            return (Criteria) this;
        }

        public Criteria andTirIdLessThan(Integer value) {
            addCriterion("tir_id <", value, "tirId");
            return (Criteria) this;
        }

        public Criteria andTirIdLessThanOrEqualTo(Integer value) {
            addCriterion("tir_id <=", value, "tirId");
            return (Criteria) this;
        }

        public Criteria andTirIdIn(List<Integer> values) {
            addCriterion("tir_id in", values, "tirId");
            return (Criteria) this;
        }

        public Criteria andTirIdNotIn(List<Integer> values) {
            addCriterion("tir_id not in", values, "tirId");
            return (Criteria) this;
        }

        public Criteria andTirIdBetween(Integer value1, Integer value2) {
            addCriterion("tir_id between", value1, value2, "tirId");
            return (Criteria) this;
        }

        public Criteria andTirIdNotBetween(Integer value1, Integer value2) {
            addCriterion("tir_id not between", value1, value2, "tirId");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andDelivererIdIsNull() {
            addCriterion("deliverer_id is null");
            return (Criteria) this;
        }

        public Criteria andDelivererIdIsNotNull() {
            addCriterion("deliverer_id is not null");
            return (Criteria) this;
        }

        public Criteria andDelivererIdEqualTo(String value) {
            addCriterion("deliverer_id =", value, "delivererId");
            return (Criteria) this;
        }

        public Criteria andDelivererIdNotEqualTo(String value) {
            addCriterion("deliverer_id <>", value, "delivererId");
            return (Criteria) this;
        }

        public Criteria andDelivererIdGreaterThan(String value) {
            addCriterion("deliverer_id >", value, "delivererId");
            return (Criteria) this;
        }

        public Criteria andDelivererIdGreaterThanOrEqualTo(String value) {
            addCriterion("deliverer_id >=", value, "delivererId");
            return (Criteria) this;
        }

        public Criteria andDelivererIdLessThan(String value) {
            addCriterion("deliverer_id <", value, "delivererId");
            return (Criteria) this;
        }

        public Criteria andDelivererIdLessThanOrEqualTo(String value) {
            addCriterion("deliverer_id <=", value, "delivererId");
            return (Criteria) this;
        }

        public Criteria andDelivererIdLike(String value) {
            addCriterion("deliverer_id like", value, "delivererId");
            return (Criteria) this;
        }

        public Criteria andDelivererIdNotLike(String value) {
            addCriterion("deliverer_id not like", value, "delivererId");
            return (Criteria) this;
        }

        public Criteria andDelivererIdIn(List<String> values) {
            addCriterion("deliverer_id in", values, "delivererId");
            return (Criteria) this;
        }

        public Criteria andDelivererIdNotIn(List<String> values) {
            addCriterion("deliverer_id not in", values, "delivererId");
            return (Criteria) this;
        }

        public Criteria andDelivererIdBetween(String value1, String value2) {
            addCriterion("deliverer_id between", value1, value2, "delivererId");
            return (Criteria) this;
        }

        public Criteria andDelivererIdNotBetween(String value1, String value2) {
            addCriterion("deliverer_id not between", value1, value2, "delivererId");
            return (Criteria) this;
        }

        public Criteria andGotIntegralIsNull() {
            addCriterion("got_integral is null");
            return (Criteria) this;
        }

        public Criteria andGotIntegralIsNotNull() {
            addCriterion("got_integral is not null");
            return (Criteria) this;
        }

        public Criteria andGotIntegralEqualTo(Integer value) {
            addCriterion("got_integral =", value, "gotIntegral");
            return (Criteria) this;
        }

        public Criteria andGotIntegralNotEqualTo(Integer value) {
            addCriterion("got_integral <>", value, "gotIntegral");
            return (Criteria) this;
        }

        public Criteria andGotIntegralGreaterThan(Integer value) {
            addCriterion("got_integral >", value, "gotIntegral");
            return (Criteria) this;
        }

        public Criteria andGotIntegralGreaterThanOrEqualTo(Integer value) {
            addCriterion("got_integral >=", value, "gotIntegral");
            return (Criteria) this;
        }

        public Criteria andGotIntegralLessThan(Integer value) {
            addCriterion("got_integral <", value, "gotIntegral");
            return (Criteria) this;
        }

        public Criteria andGotIntegralLessThanOrEqualTo(Integer value) {
            addCriterion("got_integral <=", value, "gotIntegral");
            return (Criteria) this;
        }

        public Criteria andGotIntegralIn(List<Integer> values) {
            addCriterion("got_integral in", values, "gotIntegral");
            return (Criteria) this;
        }

        public Criteria andGotIntegralNotIn(List<Integer> values) {
            addCriterion("got_integral not in", values, "gotIntegral");
            return (Criteria) this;
        }

        public Criteria andGotIntegralBetween(Integer value1, Integer value2) {
            addCriterion("got_integral between", value1, value2, "gotIntegral");
            return (Criteria) this;
        }

        public Criteria andGotIntegralNotBetween(Integer value1, Integer value2) {
            addCriterion("got_integral not between", value1, value2, "gotIntegral");
            return (Criteria) this;
        }

        public Criteria andTotalIntegralIsNull() {
            addCriterion("total_integral is null");
            return (Criteria) this;
        }

        public Criteria andTotalIntegralIsNotNull() {
            addCriterion("total_integral is not null");
            return (Criteria) this;
        }

        public Criteria andTotalIntegralEqualTo(Integer value) {
            addCriterion("total_integral =", value, "totalIntegral");
            return (Criteria) this;
        }

        public Criteria andTotalIntegralNotEqualTo(Integer value) {
            addCriterion("total_integral <>", value, "totalIntegral");
            return (Criteria) this;
        }

        public Criteria andTotalIntegralGreaterThan(Integer value) {
            addCriterion("total_integral >", value, "totalIntegral");
            return (Criteria) this;
        }

        public Criteria andTotalIntegralGreaterThanOrEqualTo(Integer value) {
            addCriterion("total_integral >=", value, "totalIntegral");
            return (Criteria) this;
        }

        public Criteria andTotalIntegralLessThan(Integer value) {
            addCriterion("total_integral <", value, "totalIntegral");
            return (Criteria) this;
        }

        public Criteria andTotalIntegralLessThanOrEqualTo(Integer value) {
            addCriterion("total_integral <=", value, "totalIntegral");
            return (Criteria) this;
        }

        public Criteria andTotalIntegralIn(List<Integer> values) {
            addCriterion("total_integral in", values, "totalIntegral");
            return (Criteria) this;
        }

        public Criteria andTotalIntegralNotIn(List<Integer> values) {
            addCriterion("total_integral not in", values, "totalIntegral");
            return (Criteria) this;
        }

        public Criteria andTotalIntegralBetween(Integer value1, Integer value2) {
            addCriterion("total_integral between", value1, value2, "totalIntegral");
            return (Criteria) this;
        }

        public Criteria andTotalIntegralNotBetween(Integer value1, Integer value2) {
            addCriterion("total_integral not between", value1, value2, "totalIntegral");
            return (Criteria) this;
        }

        public Criteria andTrashTypeIsNull() {
            addCriterion("trash_type is null");
            return (Criteria) this;
        }

        public Criteria andTrashTypeIsNotNull() {
            addCriterion("trash_type is not null");
            return (Criteria) this;
        }

        public Criteria andTrashTypeEqualTo(Integer value) {
            addCriterion("trash_type =", value, "trashType");
            return (Criteria) this;
        }

        public Criteria andTrashTypeNotEqualTo(Integer value) {
            addCriterion("trash_type <>", value, "trashType");
            return (Criteria) this;
        }

        public Criteria andTrashTypeGreaterThan(Integer value) {
            addCriterion("trash_type >", value, "trashType");
            return (Criteria) this;
        }

        public Criteria andTrashTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("trash_type >=", value, "trashType");
            return (Criteria) this;
        }

        public Criteria andTrashTypeLessThan(Integer value) {
            addCriterion("trash_type <", value, "trashType");
            return (Criteria) this;
        }

        public Criteria andTrashTypeLessThanOrEqualTo(Integer value) {
            addCriterion("trash_type <=", value, "trashType");
            return (Criteria) this;
        }

        public Criteria andTrashTypeIn(List<Integer> values) {
            addCriterion("trash_type in", values, "trashType");
            return (Criteria) this;
        }

        public Criteria andTrashTypeNotIn(List<Integer> values) {
            addCriterion("trash_type not in", values, "trashType");
            return (Criteria) this;
        }

        public Criteria andTrashTypeBetween(Integer value1, Integer value2) {
            addCriterion("trash_type between", value1, value2, "trashType");
            return (Criteria) this;
        }

        public Criteria andTrashTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("trash_type not between", value1, value2, "trashType");
            return (Criteria) this;
        }

        public Criteria andDeliverWeightIsNull() {
            addCriterion("deliver_weight is null");
            return (Criteria) this;
        }

        public Criteria andDeliverWeightIsNotNull() {
            addCriterion("deliver_weight is not null");
            return (Criteria) this;
        }

        public Criteria andDeliverWeightEqualTo(Integer value) {
            addCriterion("deliver_weight =", value, "deliverWeight");
            return (Criteria) this;
        }

        public Criteria andDeliverWeightNotEqualTo(Integer value) {
            addCriterion("deliver_weight <>", value, "deliverWeight");
            return (Criteria) this;
        }

        public Criteria andDeliverWeightGreaterThan(Integer value) {
            addCriterion("deliver_weight >", value, "deliverWeight");
            return (Criteria) this;
        }

        public Criteria andDeliverWeightGreaterThanOrEqualTo(Integer value) {
            addCriterion("deliver_weight >=", value, "deliverWeight");
            return (Criteria) this;
        }

        public Criteria andDeliverWeightLessThan(Integer value) {
            addCriterion("deliver_weight <", value, "deliverWeight");
            return (Criteria) this;
        }

        public Criteria andDeliverWeightLessThanOrEqualTo(Integer value) {
            addCriterion("deliver_weight <=", value, "deliverWeight");
            return (Criteria) this;
        }

        public Criteria andDeliverWeightIn(List<Integer> values) {
            addCriterion("deliver_weight in", values, "deliverWeight");
            return (Criteria) this;
        }

        public Criteria andDeliverWeightNotIn(List<Integer> values) {
            addCriterion("deliver_weight not in", values, "deliverWeight");
            return (Criteria) this;
        }

        public Criteria andDeliverWeightBetween(Integer value1, Integer value2) {
            addCriterion("deliver_weight between", value1, value2, "deliverWeight");
            return (Criteria) this;
        }

        public Criteria andDeliverWeightNotBetween(Integer value1, Integer value2) {
            addCriterion("deliver_weight not between", value1, value2, "deliverWeight");
            return (Criteria) this;
        }

        public Criteria andDeviceIdIsNull() {
            addCriterion("device_id is null");
            return (Criteria) this;
        }

        public Criteria andDeviceIdIsNotNull() {
            addCriterion("device_id is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceIdEqualTo(String value) {
            addCriterion("device_id =", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotEqualTo(String value) {
            addCriterion("device_id <>", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdGreaterThan(String value) {
            addCriterion("device_id >", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdGreaterThanOrEqualTo(String value) {
            addCriterion("device_id >=", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdLessThan(String value) {
            addCriterion("device_id <", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdLessThanOrEqualTo(String value) {
            addCriterion("device_id <=", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdLike(String value) {
            addCriterion("device_id like", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotLike(String value) {
            addCriterion("device_id not like", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdIn(List<String> values) {
            addCriterion("device_id in", values, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotIn(List<String> values) {
            addCriterion("device_id not in", values, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdBetween(String value1, String value2) {
            addCriterion("device_id between", value1, value2, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotBetween(String value1, String value2) {
            addCriterion("device_id not between", value1, value2, "deviceId");
            return (Criteria) this;
        }

        public Criteria andHouseOwnerIdIsNull() {
            addCriterion("house_owner_id is null");
            return (Criteria) this;
        }

        public Criteria andHouseOwnerIdIsNotNull() {
            addCriterion("house_owner_id is not null");
            return (Criteria) this;
        }

        public Criteria andHouseOwnerIdEqualTo(String value) {
            addCriterion("house_owner_id =", value, "houseOwnerId");
            return (Criteria) this;
        }

        public Criteria andHouseOwnerIdNotEqualTo(String value) {
            addCriterion("house_owner_id <>", value, "houseOwnerId");
            return (Criteria) this;
        }

        public Criteria andHouseOwnerIdGreaterThan(String value) {
            addCriterion("house_owner_id >", value, "houseOwnerId");
            return (Criteria) this;
        }

        public Criteria andHouseOwnerIdGreaterThanOrEqualTo(String value) {
            addCriterion("house_owner_id >=", value, "houseOwnerId");
            return (Criteria) this;
        }

        public Criteria andHouseOwnerIdLessThan(String value) {
            addCriterion("house_owner_id <", value, "houseOwnerId");
            return (Criteria) this;
        }

        public Criteria andHouseOwnerIdLessThanOrEqualTo(String value) {
            addCriterion("house_owner_id <=", value, "houseOwnerId");
            return (Criteria) this;
        }

        public Criteria andHouseOwnerIdLike(String value) {
            addCriterion("house_owner_id like", value, "houseOwnerId");
            return (Criteria) this;
        }

        public Criteria andHouseOwnerIdNotLike(String value) {
            addCriterion("house_owner_id not like", value, "houseOwnerId");
            return (Criteria) this;
        }

        public Criteria andHouseOwnerIdIn(List<String> values) {
            addCriterion("house_owner_id in", values, "houseOwnerId");
            return (Criteria) this;
        }

        public Criteria andHouseOwnerIdNotIn(List<String> values) {
            addCriterion("house_owner_id not in", values, "houseOwnerId");
            return (Criteria) this;
        }

        public Criteria andHouseOwnerIdBetween(String value1, String value2) {
            addCriterion("house_owner_id between", value1, value2, "houseOwnerId");
            return (Criteria) this;
        }

        public Criteria andHouseOwnerIdNotBetween(String value1, String value2) {
            addCriterion("house_owner_id not between", value1, value2, "houseOwnerId");
            return (Criteria) this;
        }

        public Criteria andCommunityIdIsNull() {
            addCriterion("community_id is null");
            return (Criteria) this;
        }

        public Criteria andCommunityIdIsNotNull() {
            addCriterion("community_id is not null");
            return (Criteria) this;
        }

        public Criteria andCommunityIdEqualTo(Integer value) {
            addCriterion("community_id =", value, "communityId");
            return (Criteria) this;
        }

        public Criteria andCommunityIdNotEqualTo(Integer value) {
            addCriterion("community_id <>", value, "communityId");
            return (Criteria) this;
        }

        public Criteria andCommunityIdGreaterThan(Integer value) {
            addCriterion("community_id >", value, "communityId");
            return (Criteria) this;
        }

        public Criteria andCommunityIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("community_id >=", value, "communityId");
            return (Criteria) this;
        }

        public Criteria andCommunityIdLessThan(Integer value) {
            addCriterion("community_id <", value, "communityId");
            return (Criteria) this;
        }

        public Criteria andCommunityIdLessThanOrEqualTo(Integer value) {
            addCriterion("community_id <=", value, "communityId");
            return (Criteria) this;
        }

        public Criteria andCommunityIdIn(List<Integer> values) {
            addCriterion("community_id in", values, "communityId");
            return (Criteria) this;
        }

        public Criteria andCommunityIdNotIn(List<Integer> values) {
            addCriterion("community_id not in", values, "communityId");
            return (Criteria) this;
        }

        public Criteria andCommunityIdBetween(Integer value1, Integer value2) {
            addCriterion("community_id between", value1, value2, "communityId");
            return (Criteria) this;
        }

        public Criteria andCommunityIdNotBetween(Integer value1, Integer value2) {
            addCriterion("community_id not between", value1, value2, "communityId");
            return (Criteria) this;
        }

        public Criteria andCommunityNameIsNull() {
            addCriterion("community_name is null");
            return (Criteria) this;
        }

        public Criteria andCommunityNameIsNotNull() {
            addCriterion("community_name is not null");
            return (Criteria) this;
        }

        public Criteria andCommunityNameEqualTo(String value) {
            addCriterion("community_name =", value, "communityName");
            return (Criteria) this;
        }

        public Criteria andCommunityNameNotEqualTo(String value) {
            addCriterion("community_name <>", value, "communityName");
            return (Criteria) this;
        }

        public Criteria andCommunityNameGreaterThan(String value) {
            addCriterion("community_name >", value, "communityName");
            return (Criteria) this;
        }

        public Criteria andCommunityNameGreaterThanOrEqualTo(String value) {
            addCriterion("community_name >=", value, "communityName");
            return (Criteria) this;
        }

        public Criteria andCommunityNameLessThan(String value) {
            addCriterion("community_name <", value, "communityName");
            return (Criteria) this;
        }

        public Criteria andCommunityNameLessThanOrEqualTo(String value) {
            addCriterion("community_name <=", value, "communityName");
            return (Criteria) this;
        }

        public Criteria andCommunityNameLike(String value) {
            addCriterion("community_name like", value, "communityName");
            return (Criteria) this;
        }

        public Criteria andCommunityNameNotLike(String value) {
            addCriterion("community_name not like", value, "communityName");
            return (Criteria) this;
        }

        public Criteria andCommunityNameIn(List<String> values) {
            addCriterion("community_name in", values, "communityName");
            return (Criteria) this;
        }

        public Criteria andCommunityNameNotIn(List<String> values) {
            addCriterion("community_name not in", values, "communityName");
            return (Criteria) this;
        }

        public Criteria andCommunityNameBetween(String value1, String value2) {
            addCriterion("community_name between", value1, value2, "communityName");
            return (Criteria) this;
        }

        public Criteria andCommunityNameNotBetween(String value1, String value2) {
            addCriterion("community_name not between", value1, value2, "communityName");
            return (Criteria) this;
        }

        public Criteria andHouseNumberIsNull() {
            addCriterion("house_number is null");
            return (Criteria) this;
        }

        public Criteria andHouseNumberIsNotNull() {
            addCriterion("house_number is not null");
            return (Criteria) this;
        }

        public Criteria andHouseNumberEqualTo(String value) {
            addCriterion("house_number =", value, "houseNumber");
            return (Criteria) this;
        }

        public Criteria andHouseNumberNotEqualTo(String value) {
            addCriterion("house_number <>", value, "houseNumber");
            return (Criteria) this;
        }

        public Criteria andHouseNumberGreaterThan(String value) {
            addCriterion("house_number >", value, "houseNumber");
            return (Criteria) this;
        }

        public Criteria andHouseNumberGreaterThanOrEqualTo(String value) {
            addCriterion("house_number >=", value, "houseNumber");
            return (Criteria) this;
        }

        public Criteria andHouseNumberLessThan(String value) {
            addCriterion("house_number <", value, "houseNumber");
            return (Criteria) this;
        }

        public Criteria andHouseNumberLessThanOrEqualTo(String value) {
            addCriterion("house_number <=", value, "houseNumber");
            return (Criteria) this;
        }

        public Criteria andHouseNumberLike(String value) {
            addCriterion("house_number like", value, "houseNumber");
            return (Criteria) this;
        }

        public Criteria andHouseNumberNotLike(String value) {
            addCriterion("house_number not like", value, "houseNumber");
            return (Criteria) this;
        }

        public Criteria andHouseNumberIn(List<String> values) {
            addCriterion("house_number in", values, "houseNumber");
            return (Criteria) this;
        }

        public Criteria andHouseNumberNotIn(List<String> values) {
            addCriterion("house_number not in", values, "houseNumber");
            return (Criteria) this;
        }

        public Criteria andHouseNumberBetween(String value1, String value2) {
            addCriterion("house_number between", value1, value2, "houseNumber");
            return (Criteria) this;
        }

        public Criteria andHouseNumberNotBetween(String value1, String value2) {
            addCriterion("house_number not between", value1, value2, "houseNumber");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}